home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / ms-0_06.lha / bms-0.06 / Makefile < prev    next >
Makefile  |  1991-11-08  |  725b  |  34 lines

  1. #
  2. # Makefile for bms, the batch-mode MandelSpawn client program
  3. #
  4. # This doesn't use Imake because it isn't an X program.
  5. #
  6.  
  7. # uncomment this if you have GCC (not nearly as important as for mslaved)
  8. # CC=gcc
  9.  
  10. LD=$(CC)
  11.  
  12. # You may need to:
  13. #  * add -DNO_MALLOC_H to DEFINES if you don't have <malloc.h>
  14. #  * add -DNEED_SYS_SELECT_H to DEFINES if you need to include <sys/select.h>
  15. #     to define getdtablesize() or the fd_set type
  16. DEFINES=
  17.  
  18. CFLAGS= -O $(DEFINES)
  19.  
  20. LDFLAGS=
  21.  
  22. OBJS=bms.o work.o mspawn.o
  23.  
  24. bms: $(OBJS)
  25.     $(LD) $(LDFLAGS) $(OBJS) -o bms
  26.  
  27. bms.o: bms.c work.h mspawn.h ms_job.h ms_real.h
  28. work.o: work.c work.h ms_ipc.h ms_real.h
  29. mspawn.o: mspawn.c mspawn.h ms_ipc.h ms_job.h ms_real.h
  30.  
  31. clean:
  32.     rm -f core bms *.o *~
  33.  
  34.